package com.vpen.blog.service;

import com.vpen.blog.common.ReturnResult;
import com.vpen.blog.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vpen.blog.entity.UserLogin;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Vpen
 * @since 2021-07-07
 */
public interface UserService extends IService<User> {
     ReturnResult login(UserLogin userLoginPost, HttpServletRequest request);
    User getUserByUserName( String name);
}
